package com.fingard.dsp.bank.reqrespobj.downloadcodefile;


import com.fingard.dsp.bank.reqrespobj.ReqRespHeader;
import com.fingard.dsp.bank.reqrespobj.RetAtsBase;
import com.fingard.xml.XmlTextWriter;

/**
 * 行号下载更新
 */
public class RetAtsCodeFile extends RetAtsBase {

    public String respCode;
    public String respInfo;
    public String dataFilePath;
    public String isSharedDir;

    public RetAtsCodeFile(ReqRespHeader p_header) {
        retHeader = p_header;
        retXmlWriter = new XmlTextWriter();
    }

    public void writeRetToATS() {
        writeStart();//写返回ATS的统一头部信息
        retXmlWriter.writeElementString("RespCode", respCode);
        retXmlWriter.writeElementString("RespInfo", respInfo);
        retXmlWriter.writeElementString("DataFilePath", dataFilePath);
        retXmlWriter.writeElementString("IsSharedDir", isSharedDir);
        writeEnd();//写结束
    }
}